package com.example.design.template;

public class LessonPreparationWithHomeWork extends LessonPreparation{
    @Override
    public void prepareHomeWork() {
        System.out.println("布置了五年高考三年模拟!");
    }

    @Override
    public boolean isPrepareHomeWork() {
        return true;
    }

    public static void main(String[] args) {
        var lesson = new LessonPreparationWithHomeWork();
        lesson.prepare();
    }
}
